﻿@{
    ViewBag.Title = "QueryResult";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<script type="text/javascript">
        function sub()
        { 
            var AjaxURL = "/Recharge/QueryFlowResult";
            var userId = $('#userId').val();
            var orderNo = $('#orderNo').val();
            var rcType = $('#rcType').val();
            $.ajax({
                type: "get",
                dataType: "html",
                url: AjaxURL + '?userId=' + userId + '&orderNo=' + orderNo + '&rcType=' + rcType,
                data: $('#f').serialize(),
                success: function (result) {
                    alert(result);
                },
            });
        }
 </script>
<h2>查询流量包充值结果</h2>
<div>
    <form id="f">
        商户Id:<input type="text" name="userId" id="userId" />
        订单号:<input name="orderNo"  id="orderNo" />
        充值类型:<input name="rcType"  id="rcType" />
        <input type="button" onclick="sub()" value="提交" />
    </form>
</div>
